package com.wangce.service.impl;

import com.wangce.dao.LoginDao;
import com.wangce.entity.User;
import com.wangce.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * ClassName: LoginServiceImpl
 * Description:
 * date: 2021/11/22 10:30
 *
 * @author 凡人
 * @since JDK 1.8
 */
@Service
public class LoginServiceImpl implements LoginService {

    @Autowired
    LoginDao loginDao;


    /**
     * 登陆
     * @param u
     * @return
     */
    @Override
    public User login(User u) {
        return loginDao.login(u);
    }
}
